package com.intelligent.bot.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.intelligent.bot.model.base.BaseEntity;
import lombok.*;

import java.io.Serializable;


@EqualsAndHashCode(callSuper = true)
@Data
@TableName("classify")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Classify extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 326308725675949330L;

    private String classifyName;

    private String imgUrl;

    private Integer sort;

    private Long parentId;

    @TableField(exist = false)
    private Integer count;

}
